﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserView.Master" AutoEventWireup="true" CodeBehind="SellProductCategory.aspx.cs" Inherits="BestBuy.SellerViews.SellProductCategory" %>
<%@ Register TagPrefix="uc" TagName="MessagePanel" Src="~/UserControls/MessagePanel.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <div class="tabbable"> <!-- Only required for left/right tabs -->
        <ul class="nav nav-tabs">
            <li class="active"><a href="#tab_Pay_Detail" data-toggle="tab">Payment Details</a></li>
            <li><a href="#tab_Contact_Info" data-toggle="tab">Contact Info</a></li>
            <li><a href="#tab_Category" data-toggle="tab">Sell Category</a></li>
        </ul>
        <div class="tab-content">
            <div class="tab-pane active" id="tab_Pay_Detail">
                <div>
                    <h1 align="center"><asp:Label ID="lbTitlePay" runat="server" Text="Payment Details"></asp:Label></h1>
                    <div> <uc:messagepanel ID="PaymentDetailsMessage" runat="server" /> </div>
                    <hr />
                    <table class="page">
                        <tr>
                            <td align="right" width="30%">
                                <asp:Label ID="lbFirstName" runat="server" Text="First Name :"></asp:Label>
                            </td>
                            <td width="20%">
                                <asp:TextBox ID="txtFirstName" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td align="right" width="10%">
                                <asp:Label ID="lbLastName" runat="server" Text="Last Name :"></asp:Label>
                            </td>
                            <td width="40%">
                                <asp:TextBox ID="txtLastName" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lbCardType" runat="server" Text="Card Type :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtCardType" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td align="right" class="style1">
                                <asp:Label ID="lbCardNumber" runat="server" Text="Card Number :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtCardNumber" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lbExpirationDate" runat="server" Text="Expiration Date :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtExpirationDate" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td align="right" class="style1">
                                <asp:Label ID="lbCSC" runat="server" Text="CSC :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtCSC" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lbBillingAddress" runat="server" Text="Billing Address :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtBillingAddress" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td align="right" class="style1">
                                <asp:Label ID="lbBillingAddress2" runat="server" Text="Billing Address 2 :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtBillingAddress2" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lbPaypalEmail" runat="server" Text="Paypal Email :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPaypalEmail" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td align="right" class="style1">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lbCity" runat="server" Text="City :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtCity" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td align="right" class="style1">
                                <asp:Label ID="lbCountry" runat="server" Text="Country :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtCountry" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lbState" runat="server" Text="State :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtState" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td align="right" class="style1">
                                <asp:Label ID="lbPostalCode" runat="server" Text="Postal Code :"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPostalCode" runat="server" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td align="right" class="style1">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" colspan="4">
                                <asp:Button ID="btnUpdatePayment" runat="server" Text="Update" 
                                    onclick="btnUpdatePayment_Click" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="btnResetPayment" runat="server" Text="Reset" 
                                    onclick="btnResetPayment_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="4">
                                &nbsp;</td>
                        </tr>
                    </table>
                </div>
            </div>

            <div class="tab-pane" id="tab_Contact_Info">
                <div>
                    <h1 align="center"><asp:Label ID="lbTitleContact" runat="server" Text="Infomation sent to Buyer"></asp:Label></h1>
                    <div> <uc:messagepanel ID="ContactInfoMessage" runat="server" /> </div>
                    <hr />
                    <div align="left" style="padding-left:40px;">
                        <asp:CheckBox ID="chbName" runat="server" Text="Full Name" />
                        <br />
                        <asp:CheckBox ID="chbEmail" runat="server" Text="Email" />
                        <br />
                        <asp:CheckBox ID="chbPhoneNum" runat="server" Text="Phone Number" />
                        <br />
                        <br />
                        <br />
                        <asp:Button ID="btnUpdateContact" runat="server" Text="Update" 
                            onclick="btnUpdateContact_Click" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="btnResetContact" runat="server" Text="Reset" 
                            onclick="btnResetContact_Click" />
                    </div>

                </div>
            </div>

            <div class="tab-pane" id="tab_Category">
                <div>
                    <h1 align="center">
                        <asp:Label ID="lbTitleCategory" runat="server" Text="Sell Product Category"></asp:Label>
                    </h1>
                    <div> <uc:messagepanel ID="Messagepanel1" runat="server" /> </div>
                    <hr />
                    <div align="center">
                        <div align="left" style="padding-left:40%;">
                                    <asp:TreeView ID="tvCategories" runat="server" ShowLines="True" 
                                        Font-Size="Medium" ShowCheckBoxes="Leaf">
                                    </asp:TreeView>
                        </div>        
                                    <br />
                                    <br />
                                    <asp:Button ID="btnUpdateCategory" runat="server" Text="Update" 
                            onclick="btnUpdateCategory_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="btnResetCategory" runat="server" Text="Reset" 
                            onclick="btnResetCategory_Click" />
                    </div>

                </div>
            </div>
            
        </div>
    </div>
</asp:Content>
